how to count occurance of letter in python file